package com.wnxy.sddfp.trade;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.wnxy.sddfp.trade.mapper")
@ComponentScan({"com.wnxy.sddfp.common", "com.wnxy.sddfp.trade"})
@EnableFeignClients(basePackages = {
        "com.wnxy.sddfp.client.system",
        "com.wnxy.sddfp.client.bank"
})
public class TradeCenterApplication {
    public static void main(String[] args) {
        SpringApplication.run(TradeCenterApplication.class, args);
    }
}